home *** CD-ROM | disk | FTP | other *** search
/ Chip 2004 August / chip-cd_2004_08.zip / 08 / Multimedia / Zoom Player Standard 4.00 / zp400std.exe / default.df next >
Text File  |  2003-10-09  |  5KB  |  123 lines

  1. // A ".DF" file is a Definition file you can use with any media
  2. // Zoom Player tries to open (except play lists).
  3. //
  4. // It can be used to associate certain zoom player values to a
  5. // specific file as it loads.  The file must have the exact same
  6. // name as the file it is associated to, but with the ".DF"
  7. // Extension and be located in the same directory as the media file.
  8. //
  9. //
  10. // The following functions can be used:
  11. //
  12. // RunProgram(CommandLine)
  13. //   - You can use this function to run an external program.
  14. //     The "CommandLine" contains the name of the executable and
  15. //     the parameters that should be passed to it (see example below).
  16. //     Note: It's best to use this function as the first in the file.
  17. //
  18. // Delay(Seconds)
  19. //   - Pauses processing for a specified number of seconds.  Can be
  20. //     useful in combination with "RunProgram" if you want to give
  21. //     the running program time to process something.
  22. //
  23. // BringToFront
  24. //   - Brings the Zoom Player window to the front (in case some other
  25. //     application executed using "RunProgram" stole focus.
  26. //
  27. // AddSegment(FileName,Recursive)
  28. //   - Using this function you can associate additional media files
  29. //     with the currently loaded media files by adding them to the
  30. //     Play List.  Zoom Player will scan the current directory and
  31. //     all root directories for the specified segments.
  32. //
  33. // SetMPEG1Audio(Channel)
  34. //   - This function specifies the MPEG1 Audio Channel mapping (used
  35. //     mostly in VCD audio).  Values are "0" for stereo, "1" for left
  36. //     and "2" for right.
  37. //
  38. // SetBlanking(Top,Bottom,Left,Right)
  39. //   - This function sets the video-blanking positions.
  40. //
  41. // SetCustomAR(WidthRatio,HeightRatio)
  42. //   - This function sets the Custom Aspect Ratio values, useful
  43. //     when used in combination of "SetAspectRatio" and the Custom
  44. //     Aspect Ratio mode.
  45. //
  46. // SetPlacement(XOffset,YOffset,Width,Height)
  47. //   - This function sets the position of the video in zoomed mode.
  48. //
  49. // SetAspectRatio(ARMode)
  50. //   - Set a specific aspect ratio mode.  The ARMode value is a
  51. //     number representing the Aspect Ratio mode.  A value of
  52. //     "0" means "Fit to Window" (the first listed aspect ratio)
  53. //     The numbers go up for every mode.
  54. //
  55. // SetOverlayColorControls(Brightness,Contrast,Gamma,Hue,Saturation)
  56. //   - Set the Overlay Color settings.
  57. //
  58. // SetVMR9ColorControls(Brightness,Contrast,Gamma,Hue,Saturation)
  59. //   - Set the Video Mixing Renderer 9 Color settings.
  60. //
  61. // SetVolume(VolumeLevel)
  62. //   - Set the Audio Volume (0-100)
  63. //
  64. // SetBalance(Value)
  65. //   - Set the Balance Value (0-6, Where 6 = Full Left, 3 = Center and 0 = Full Right)
  66. //
  67. // SetEQ(Bar0,Bar1,Bar2,Bar3,Bar4,Bar5,Bar6,Bar7,Bar8,Bar9)
  68. //   - Set EQ Values for each of the Bars (Values = -100 - 100)
  69. //
  70. // SetPreAmp(VolumeBoost)
  71. //   - Set the Pre-Amplification Audio Boost (0-200, 100 = Normal Audio)
  72. //
  73. // SetRegistry(BaseKey,RegPath,KeyType,SubKey,Value)
  74. //   - Set a registry value.  Can be useful for setting certain
  75. //     codec values (like say brightness for the DivX codec)
  76. //     right before the video loads.
  77. //
  78. //     "BaseKey" Can have 5 values:
  79. //               R = HKEY_CLASSES_ROOT
  80. //               U = HKEY_CURRENT_USER
  81. //               M = HKEY_LOCAL_MACHINE
  82. //               S = HKEY_USERS
  83. //               C = HKEY_CURRENT_CONFIG
  84. //
  85. //     "RegPath" is a path, such as "Software\VirtuaMedia\ZoomPlayer"
  86. //
  87. //     "KeyType" is the type of key, values can be:
  88. //               S = String
  89. //               D = DWord
  90. //
  91. //     "SubKey"  is the name of a key within the path
  92. //
  93. //     "Value"   is the data inserted into the key, the data must match
  94. //               the type specified in the "KeyType" value.
  95. //
  96. //
  97. //
  98. // For example...
  99. //
  100. // * Run some program with a 3 second delay.
  101. // RunProgram("C:\Program Files\My Program\Program.exe" -D -V -I)
  102. // Delay(3)
  103. //
  104. // * Blank 60 pixels off the top and bottom and 5 pixels off the left and right
  105. //   sides of the video
  106. // SetBlanking(60,60,5,5)
  107. //
  108. // * Set CustomAR values to 1:2.35
  109. // SetCustomAR(2.35,1)
  110. //
  111. // * Position the video with a 5 pixel offset from all corners of a 640x480 mode
  112. // SetPlacement(5,5,640,470)
  113. //
  114. // * Set the Aspect ratio to "Source Aspect Ratio"
  115. // SetAspectRatio(1)
  116. //
  117. // * Set the DivX 3.11 brightness level to "62".
  118. // SetRegistry(U,Software\Microsoft\Scrunch\Video,D,Brightness,62)
  119. //
  120. // * Add 2 Segments to a currently loaded file
  121. // AddSegment(myvideo2.avi)
  122. // AddSegment(myvideo3.avi)
  123. //